package com.gem.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 刘聪
 * Created  on 2021/3/5
 */
@Data
@TableName(value = "sb_order")
public class Order implements Serializable {
    private static final long serialVersionUID = -3518036611046559359L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String orderNo;
    private Integer userId;
    private Integer shippingId;
    private Double totalPrice;

    private Integer postage;
    private Integer status;
    private Date paymentTime;
    private Date sendTime;

    private Date closeTime;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}
